package dawn.jxufe.community;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @author dawn21
 * @version 1.0
 * @date 2022/9/7 14:32
 * @component
 */
public class CommunityServletInitializer extends SpringBootServletInitializer {
    // Tomcat从这里进入运行程序。
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(CommunityApplication.class);
    }
}
